package com.ctshk.rpc.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 用户收货地址表
 * @author 
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_user_receiving_address")
@ApiModel(value="用户收货地址表")
public class UserReceivingAddress extends BaseEntity {

    @ApiModelProperty(value="收货人名称")
    private String consigneeName;

    @ApiModelProperty(value="用户id")
    private Long userId;

    @ApiModelProperty(value="收货人手机区号id")
    private Long consigneeMobileAreaCodeId;

    @ApiModelProperty(value="收货人手机区号")
    private String consigneeMobileAreaCode;

    @ApiModelProperty(value="收货人手机号码")
    private String consigneeMobileNumber;

    @ApiModelProperty(value="邮政编码")
    private String postalCode;

    @ApiModelProperty(value="地区类型")
    private Integer areaType;

    @ApiModelProperty(value="国家id")
    private Long countryId;

    @ApiModelProperty(value="省份id")
    private Long provinceId;

    @ApiModelProperty(value="市区id")
    private Long cityId;

    @ApiModelProperty(value="地区id")
    private Long areaId;

    @ApiModelProperty(value="所在区域(国家+省+市+区)")
    private String region;

    @ApiModelProperty(value="详细地址")
    private String address;

    @ApiModelProperty(value="是否默认地址")
    private Integer isDefalutAddress;

    @ApiModelProperty(value="创建人")
    private Long createId;

    @ApiModelProperty(value="修改人")
    private Long modifiedId;

    @ApiModelProperty(value="删除标识")
    private Integer isDeleted;

    @ApiModelProperty(value="国家名称")
    private String countryName;

    @ApiModelProperty(value="省份名称")
    private String provinceName;

    @ApiModelProperty(value="市区名称")
    private String cityName;

    @ApiModelProperty(value="地区名称")
    private String areaName;

    @ApiModelProperty(value="区域主键Id")
    private Long locationId;
}